package pl.edu.mimuw.irs.rcp.util;

public enum MessageCode {
	
	// Problems
	ERROR_TITLE("error.title"),
	WARNING_TITLE("warning.title"),
	INFO_TITLE("info.title"),
	WORKFLOW_CREATE_PROJECT_PROBLEM("workflow.create.project.problem"),
	WORKFLOW_SAVE_SERIALIZE_PROBLEM("workflow.save.serialize.problem"), 
	WORKFLOW_SAVE_INPUT_PROBLEM("workflow.save.input.problem"), 
	WORKFLOW_LOAD_DESERIALIZE_PROBLEM("workflow.load.deserialize.problem"), 
	EDITOR_OPEN_PROBLEM("editor.open.problem"), 
	PROJECT_OPEN_PROBLEM("project.open.problem"), 
	PROJECT_DELETE_PROBLEM("project.delete.problem"), 
	WORKFLOW_SAVE_FILE_PROBLEM("workflow.save.file.problem"), 
	ANALYSIS_CREATE_PROBLEM("analysis.create.problem"),
	
	// Questions
	QUESTION_TITLE("question.title"),
	PROJECT_DELETE_QUESTION("project.delete.question"),
	
	// Editors
	RESOURCE_EDITOR_NAME("resource.editor.name"),
	RESOURCE_EDITOR_CONTENTS("resource.editor.contents"),
	REQUIREMENTS_EDITOR_NAME("requirements.editor.name"),
	REQUIREMENTS_EDITOR_CONTENTS("requirements.editor.contents"),
	
	// Wizards
	WIZARD_FIELD_EMPTY("wizard.field.empty"),
	PROJECT_WIZARD_NAME("project.wizard.name"),
	PROJECT_WIZARD_PROJECT_TITLE("project.wizard.project.title"), 
	PROJECT_WIZARD_PROJECT_NAME("project.wizard.project.name"),
	PROJECT_WIZARD_PROJECT_INTRO("project.wizard.project.intro"),
	PROJECT_WIZARD_RESOURCES_TITLE("project.wizard.resources.title"), 
	
	// Other texts
	WORKFLOW_SAVE_PROGRESS("workflow.save.progress"), ;
	
	public static final String BUNDLE = "messages";
	
	private String code;
	
	MessageCode(String code) {
		this.code = code;
	}
	
	public String getCode() {
		return code;
	}
}
